package com.zw.controller;

import com.zw.annotation.OwnAnnotation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @OwnAnnotation()
    @RequestMapping("/add1")
    public String addData1(String deviceId) {
        System.out.println("deviceId值为:"+deviceId);
        return "success!"+deviceId;
    }
}
